crypto/internal/fips140/ecdsa.PrivateKey.d (field)
11 uses
crypto/internal/fips140/ecdsa (current package)
cast.go#L32: d: []byte{
cast.go#L57: drbg := newDRBG(sha512.New, k.d, bits2octets(P256(), hash), nil)
cast.go#L123: drbg := newDRBG(sha512.New, k.d, bits2octets(P256(), hash), nil)
ecdsa.go#L25: d []byte // bigmod.(*Nat).Bytes output (same length as the curve order)
ecdsa.go#L29: return priv.d
ecdsa.go#L178: priv := &PrivateKey{pub: *pub, d: d.Bytes(c.N)}
ecdsa.go#L214: d: k.Bytes(c.N),
ecdsa.go#L293: Z := make([]byte, len(priv.d))
ecdsa.go#L304: drbg := newDRBG(h, Z, nil, blockAlignedPersonalizationString{priv.d, bits2octets(c, hash)})
ecdsa.go#L320: drbg := newDRBG(h, priv.d, bits2octets(c, hash), nil) // RFC 6979, Section 3.3
ecdsa.go#L366: s, err := bigmod.NewNat().SetBytes(priv.d, c.N)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |